home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3601 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.1 KB

  1. Path: castle.nando.net!news
  2. From: khelmink@nando.net
  3. Newsgroups: comp.lang.c++,rec.games.programmer
  4. Subject: Re: Problem linking w/ Watcom 10.5 - please help
  5. Date: 25 Jan 1996 01:06:46 GMT
  6. Organization: News & Observer Public Access
  7. Message-ID: <4e6l36$k3g@castle.nando.net>
  8. References: <4e6e4l$9f4@morgoth.sfu.ca>
  9. Reply-To: khelmink@nando.net
  10. NNTP-Posting-Host: grail909.nando.net
  11. X-Newsreader: IBM NewsReader/2 v1.2
  12.  
  13. In <4e6e4l$9f4@morgoth.sfu.ca>, dbullock@news.sfu.ca (David William Bullock) writes:
  14. >I am having trouble linking with Watcom 10.5.  I cannot
  15. >get wlink to link to the standard library.  After linking,
  16. >I get errors saying that it cannot link functions like sprintf
  17. >and putc (etc).  If anyone has advice, I would greatly apreciate
  18. >it.
  19. >
  20. >David Bullock
  21. >dbullock@sfu.ca
  22. >
  23. Yes, I get similar problems such as this:
  24.  
  25. cd d:\cstuff
  26. wmake -f d:\cstuff\rectangle.mk -h -e d:\cstuff\rectangle.exe
  27. wlink SYS os2v2 op m d all op st=8192 op maxe=25 op q op symf @rectangle.lk1
  28. Warning(1028): ostream near cout is an undefined reference
  29. Warning(1028): ostream near & near ostream::operator <<( char const near * ) is an undefined reference
  30. Warning(1028): istream near cin is an undefined reference
  31. Warning(1028): istream near & near istream::operator >>( int unsigned near & ) is an undefined reference
  32. Warning(1028): ostream near & near ostream::operator <<( long unsigned ) is an undefined reference
  33. Warning(1014): stack segment not found
  34. Warning(1023): no starting address found, using 0001:00000000
  35. file week1.obj(D:\cstuff\week1.cpp): undefined symbol ostream near cout
  36. file week1.obj(D:\cstuff\week1.cpp): undefined symbol ostream near & near ostream::operator <<( char const near * )
  37. file week1.obj(D:\cstuff\week1.cpp): undefined symbol istream near cin
  38. file week1.obj(D:\cstuff\week1.cpp): undefined symbol istream near & near istream::operator >>( int unsigned near & )
  39. file week1.obj(D:\cstuff\week1.cpp): undefined symbol ostream near & near ostream::operator <<( long unsigned )
  40. Error(E42): Last command making (d:\cstuff\rectangle.exe) returned a bad status
  41. Error(E02): Make execution terminated
  42. Execution complete
  43.  
  44.  
  45. keith
  46.  
  47. khelmink@nando.net
  48.  
  49.